package com.example.demo.service;

import com.example.demo.entity.Exam;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.utils.AjaxJson;
import com.example.demo.vo.examAddVo;
import com.example.demo.vo.examVo;

/**
 * <p>
 * 考试表 服务类
 * </p>
 *
 * @author 
 * @since 2025-11-10
 */
public interface IExamService extends IService<Exam> {

    AjaxJson getByTeacherId(Integer teacherId);

    AjaxJson saveByExamAddVo(examAddVo examAddVo);

    examVo buildExamVo(Exam exam);

    AjaxJson updataByExamAddVo(examAddVo examAddVo);

    AjaxJson getByStudentId();

    AjaxJson getByExStId(Integer examId);
}
